package com.kgc.easyshopping.dao;

import com.kgc.easyshopping.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

@Mapper
public interface UserMapper {
    int deleteByPrimaryKey(Integer uid);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(String uid);

    int selectUser(String loginname,String uid);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
}